//
//  PublicObj.h
//  Bullet
//
//  Created by  on 2019/8/12.
//  Copyright © 2019 . All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN

@interface PublicObj : NSObject
/** 根据色值获取图片 */
+(UIImage*)getImgWithColor:(UIColor *)color;
#pragma mark 头像选择
+ (NSString *)defaultHead:(int)sex userid:(int)userid;
#pragma mark 判断字典是否为空，是否包含关键字，关键字是否为空
+(NSString *)show_JudgmentEmptiness:(NSDictionary *)dic Key:(NSString *)Key;
#pragma mark 时间格式化
+(NSString *)getTimeShow:(float)time;
#pragma mark 获取当前时间戳
+(NSString *)getNowTimeTimestamp;
#pragma mark 获取两个值之间的随机数
+(int)getRandomNumber:(int)from to:(long)to;
#pragma mark 请求参数加密
+ (id)reqeustHandleParams:(NSDictionary *)params;
#pragma mark 请求头组装
+ (NSDictionary *)getNetworkingHeaders;
#pragma mark 请求数据解密
+ (NSDictionary *)responseDataWithAES:(id)responseObject;
@end

NS_ASSUME_NONNULL_END
